Skip to content

fix: move DocPreviewCard status badges below title#939

Merged
stevenle merged 5 commits intomainfrom
codex/move-status-badges-below-title-in-docpreviewcard
Feb 26, 2026
Merged

fix: move DocPreviewCard status badges below title#939
stevenle merged 5 commits intomainfrom
codex/move-status-badges-below-title-in-docpreviewcard

Conversation

@stevenle
Copy link
Member

Motivation

  • Improve layout and readability by moving the document status badges out of the header row and placing them below the preview title in the DocPreviewCard component.

Description

  • Move DocStatusBadges rendering from the header row to a new block below the title in packages/root-cms/ui/components/DocPreviewCard/DocPreviewCard.tsx.
  • Add a .DocPreviewCard__content__badges CSS rule with margin-bottom: 4px in packages/root-cms/ui/components/DocPreviewCard/DocPreviewCard.css and remove the old header-specific .DocStatusBadges alignment rule.

Testing

  • No automated tests were run per request to avoid running tests; an attempt to capture a Playwright screenshot failed because no app was serving at http://127.0.0.1:3000 (ERR_EMPTY_RESPONSE).

Codex Task

@stevenle stevenle merged commit cc77783 into main Feb 26, 2026
1 check passed
@stevenle stevenle deleted the codex/move-status-badges-below-title-in-docpreviewcard branch February 26, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants